x86/domctl: Introduce PV_XSAVE_HDR_SIZE and remove its opencoding
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 12 Sep 2016 09:30:00 +0000 (10:30 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 13 Sep 2016 09:43:57 +0000 (10:43 +0100)
commit80b9ea63b0955c692a71bc841f4ec0a501da7c4b
tree455b17d4874cd29fa9ac980bfd472b67ba1003c7
parentd45fae589b8d8b6d36c211dcc46d767dda730b61
x86/domctl: Introduce PV_XSAVE_HDR_SIZE and remove its opencoding

Also remove opencoding of PV_XSAVE_SIZE().  Undefine both when they are
done with.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/domctl.c